<?php
// include('./includes/dbconnection.php'); // open db connection
require_once('includes/dbfunctions.php');
require_once("../includes/config.php");


if( $_GET['fileID'] ){
    $row = getAssetInfo($_GET['fileID']);

//    $imageName = '../assets/'.trim(strrchr($row['Filename'],'/'),'/');
    $imageName = '../asset.php?id='.$row['ID'];
}



?>

var editTitle=" <?PHP echo $row['Title'] ?>";
var editDescription=" <?PHP echo $row['Description'] ?>";
var editPath=" <?PHP echo $row['Path'] ?>";
var editFileName=" <?PHP echo $row['Name'] ?>";
var editAsset= <?PHP echo $row['ID'] ?>;
